import React, { Component } from 'react';
import './App.css';
import Login from './login';
import Main from './Main';

class App extends Component {
  constructor(props) {
  super(props);

  this.state = {
    islogin:0
  };
}
  render() {
    return (
      <div className="App">
       {
          this.state.islogin===0 ?	
          <Login />
          :
          <Main />
        }
      </div>
    );
  }
}

export default App;
